<h2>
   <span style="float: right;">
      <%= button_for "Back to List", "list", {:action => 'index'} %>
      <%= button_for "Delete", "delete", { :action => 'destroy', :id => @photo }, {:class => "button", :confirm => "Are you sure you want to delete this photo?", :method => "delete"}%>
   </span>
   Photo
</h2>
<p>
   <%= link_to(image_tag(@photo.public_filename(:small)), @photo.public_filename) %>
</p>

<p/>
